VObject::AsString
Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index
Return to Main Contents
NAME
VObject::AsString - instance method
TEMPLATE
see template of Object::AsString
SPECIFIERS
public
virtual
DESCRIPTION
AsString should be overridden if the VObject is added to a collection (e.g. the collection of a class CollectionView) because the comparison done by the method Compare and the method IsEqual is based on AsString. By default, the string "~" is returned.
See the class TextItem for an example. The method CollectionView::DoKeyCommand directly calls AsString in order to scroll to the next item whose string starts with the typed character.
Method is sometimes overridden.
Method never calls base method.
ARGUMENTS
see arguments of Object::AsString
RETURN ARGUMENT
see return argument of Object::AsString
CATEGORIES
comparison, overrider interface
FIRST DEFINITION
class Object
FILES
- implementation:
-
VObject.C
KNOWN PROBLEMS
The true purpose of this method is not comparison.
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
- KNOWN PROBLEMS
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:22 GMT, March 30, 2022